package com.example.workbench.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 看板中心表
 * </p>
 *
 * @author 
 * @since 2024-08-03
 */
@TableName("db_task")
@Data
@EqualsAndHashCode(callSuper = true)

@NoArgsConstructor
@ApiModel(value = "DbTask对象", description = "看板中心表")
public class DbTask extends BaseEntity {


    @ApiModelProperty("看板名称")
    private String taskName;

    @ApiModelProperty("用户id")
    private Long userId;

    private String bgColor;
    public DbTask(String taskName, Long userId,String bgColor) {
        this.taskName = taskName;
        this.userId = userId;
        this.bgColor = bgColor;
    }
}
